Skip to content

Update Wireshark from 2.0.2 to 2.0.16 #557

Merged
merged 6 commits into from
Dec 20, 2017

Conversation

pmenzel
Copy link
Collaborator

@pmenzel pmenzel commented Dec 19, 2017

Tested on keineahnung.

Recreate bee file with the command below, and convert it to a
versionless bee file.

```
$ bee init https://2.na.dl.wireshark.org/src/wireshark-2.0.2.tar.bz2
creating wireshark-2.0.2-0.bee from template '/etc/default/bee/templates/fallback'
$ mv wireshark-2.0.2-0.bee wireshark.be0
$ vim wireshark.be0
```
The old sources are in the directory `all-versions`.
Version 2.0.16 was released on October 10th, 2017.

The release notes are available online [1].

[1] https://www.wireshark.org/docs/relnotes/
From [1]:

> Optional patch:
> http://www.linuxfromscratch.org/patches/blfs/7.10/wireshark-2.0.5-lua_5_3_1-1.patch
> (allows building the LUA bindings if Lua-5.3.3 is installed and LUA is
> not disabled by passing --without-lua to configure)

Applies with a little offset.

```
[BEE] patch -N -p1 -i
/dev/shm/bee-root/wireshark/files/wireshark-2.0.5-lua_5_3_1-1.patch
patching file configure
Hunk #1 succeeded at 38870 (offset 1275 lines).
Hunk #2 succeeded at 38974 (offset 1275 lines).
Hunk #3 succeeded at 38998 (offset 1275 lines).
Hunk #4 succeeded at 39022 (offset 1275 lines).
patching file epan/wslua/lua_bitop.c
patching file epan/wslua/wslua_byte_array.c
patching file epan/wslua/wslua_file.c
Hunk #1 succeeded at 347 (offset 10 lines).
patching file epan/wslua/wslua.h
patching file epan/wslua/wslua_int64.c
patching file epan/wslua/wslua_internals.c
patching file epan/wslua/wslua_listener.c
patching file epan/wslua/wslua_nstime.c
patching file epan/wslua/wslua_struct.c
patching file epan/wslua/wslua_tvb.c
Hunk #3 succeeded at 223 (offset -1 lines).
Hunk #4 succeeded at 241 (offset -1 lines).
Hunk #5 succeeded at 836 (offset -1 lines).
Hunk #6 succeeded at 917 (offset -1 lines).
Hunk #7 succeeded at 961 (offset -1 lines).
Hunk #8 succeeded at 1008 (offset -1 lines).
Hunk #9 succeeded at 1108 (offset -1 lines).
```

With this patch, `Use Lua library : yes` is seen in the configure option
summary.

[1] http://www.linuxfromscratch.org/blfs/view/7.10/basicnet/wireshark.html
@donald
Copy link
Collaborator

donald commented Dec 20, 2017

Why is there a pull request for 2.0.16 and 2.4.3 is installed?

@pmenzel
Copy link
Collaborator Author

pmenzel commented Dec 20, 2017 via email

@donald
Copy link
Collaborator

donald commented Dec 20, 2017

My fault, 2.4.3 is not installed on the distmaster, just on my system. I must have used bee update wireshark without a version number to test this one.

@donald
Copy link
Collaborator

donald commented Dec 20, 2017

tested on theinternet

@donald donald merged commit 047e53c into master Dec 20, 2017
@donald donald deleted the update-wireshark-from-2.0.2-to-2.0.16 branch December 20, 2017 17:38
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants